package spectrum;

/*----------------------------------------------------------------------------*/
/* Copyright (c) FIRST 2008. All Rights Reserved.                             */
/* Open Source Software - may be modified and shared by FRC teams. The code   */
/* must be accompanied by the FIRST BSD license file in the root directory of */
/* the project.                                                               */
/*----------------------------------------------------------------------------*/

import edu.wpi.first.wpilibj.IterativeRobot;

/**
 * The VM is configured to automatically run this class, and to call the
 * functions corresponding to each mode, as described in the IterativeRobot
 * documentation. If you change the name of this class or the package after
 * creating this project, you must also update the manifest file in the resource
 * directory.
 */
public class Main extends IterativeRobot {
     public void robotInit() {
        Disabled.robotInit();
    }

    public void disabledInit() {
        Disabled.init();
    }

    public void disabledContinuous() {
        Disabled.continuous();
    }

    public void disabledPeriodic() {
        Disabled.periodic();
    }

    public void autonomousInit() {
        Autonomous.init();
        //EncoderAutonomous.init();
    }

    public void autonomousContinuous() {
        Autonomous.continuous();
        //EncoderAutonomous.continuous();
    }
    public void autonomousPeriodic() {
        Autonomous.periodic();
        //EncoderAutonomous.periodic();
    }

    public void teleopInit() {
        Teleop.init();
    }

    public void teleopContinuous() {
        Teleop.continuous();
    }

    public void teleopPeriodic() {
        Teleop.periodic();
    }
    
}
